On Thursday April 12 2007 4:53 pm, Dan Horne wrote:
> Hi
>
> Have a look at the CGI::Ajax demo code for "Skips using build_html()"
> http://www.perljax.us/demo/pjx_nobuild.txt
>
> As with the example you'll need to include
>
> <div id='__pjxrequest'></div>
>
> in your template. Since your html is in a template you can ignore the
> example's "hard-coded" HTML, and simply make sure that you have the
> following H::T tag in your HTML <head> section:
>
> <tmpl_var pjx>
>
> Set the tag in your Perl code with
>
> $template->param('pjx' => $pjx);
>
> Sorry I don't have any concise  examples since I use CGI::Ajax with
> CGI::Application and there's a lot of irrelevant stuff, but this should
> work for you
>
> Dan
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Greg Jetter
> > Sent: Friday, 13 April 2007 12:30 p.m.
> > To: [EMAIL PROTECTED]
> > Subject: [htmltmpl] using HTML::Template with CGI:Ajax
> >
> > HI folks:
> >
> >         I'm trying to figure out how to use  the two  modules
> > together , I've been using HTML::Template for a wile now  and
> > and commfy using it , I want to start using  the  CGI::Ajax
> > module  and am looking for  examples or advice on how to call
> > my template file  and have it work with the other. From what
> > I understand ,  the CGI::Ajax object is supposed to  write
> > stuff to the header of the returned  html code passed to it.
> >
> > anybody ever use these two together ?
> >
> > I'm thinking that the cgi-ajax method  build_html is what I
> > need  and maybe pass it  tmpl->output ?
> >
> >
> > I haven't even  written  any code yet , still researching ,
> > Google dose not
> > give me much to work with so I'm trying here.
> >
> > Just would like to see a simple example of  using HTML::Template with
> >  CGI::Ajax .
> >
> >
> >
> >
> > Thanks
> >
> > Greg Jetter
> >
> > --------------------------------------------------------------
> > -----------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the
> > chance to share your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge
>
> &CID=DEVDEV
>
> > _______________________________________________
> > Html-template-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/html-template-users
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Html-template-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/html-template-users


thanks Dan ,  that helps a lot

Greg

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to